package com.deng.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.deng.entity.Usermessage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.deng.vo.UserMessageVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dengwenxiong
 * @since 2021-05-05
 */
public interface UsermessageService extends IService<Usermessage> {

    IPage<UserMessageVo> paging(Page page, QueryWrapper<Usermessage> orderByDesc);

    void updateToReader(List<Long> ids);
}
